import Vue from 'vue'
import Vuex from 'vuex'

// 引用模块
import Home from "./modules/home.js"
import action from "./modules/action.js"
import getter from "./modules/getter.js"

Vue.use(Vuex)

export default new Vuex.Store({
 
    // 注入
  modules: {
    Home,
    action,
    getter
  }
})